package com.yunxin.core.domain.model.merchant;

/**
 * @author zero°
 * @since 2023-07-12
 */
public interface MerchantInfoRepository {

    /**
     * 保存
     * @param merchantInfo merchantInfo
     * @return boolean
     */
    boolean saveMerchantInfo(MerchantInfo merchantInfo);

    /**
     * 更新
     * @param merchantInfo merchantInfo
     * @return boolean
     */
    boolean updateMerchantInfo(MerchantInfo merchantInfo);

    /**
     * 根据id获取
     * @param id id
     * @return MerchantInfo
     */
    MerchantInfo getMerchantInfoById(Long id);
}
